﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace RM.Entities
{
    //[DataContract(Name = "Candidate", Namespace = "RM.Entities", IsReference = true)]
    public class Candidate 
    {

        //[DataMember]
        public virtual int Id { get; set; }
        //[DataMember]
        public virtual Employee CreatedBy { get; set; }
        //[DataMember]
        public virtual Employee ModifiedBy { get; set; }
        //[DataMember]
        public virtual DateTime CreatedDate { get; set; }
        //[DataMember]
        public virtual DateTime ModifiedDate { get; set; }

        ////[DataMember]
        public virtual string FirstName { get; set; }
        //[DataMember]
        public virtual string LastName { get; set; }
        //[DataMember]
        public virtual string FullName { get; set; }
        //[DataMember]
        public virtual DateTime DoB { get; set; }
        //[DataMember]
        public virtual string EmailAddress { get; set; }
        //[DataMember]
        public virtual string FatherName { get; set; }
        //[DataMember]
        public virtual string Phone { get; set; }
        //[DataMember]
        public virtual string ReferedBy { get; set; }
        //[DataMember]
        public virtual string AppliedForPost { get; set; }
        //[DataMember]
        public virtual float TotalExp { get; set; }
        //[DataMember]
        public virtual bool ShortListed { get; set; }
        //[DataMember]
        public virtual byte[] Photo { get; set; }
        //[DataMember]
        public virtual byte[] Resume { get; set; }

        //Added properties
        //[DataMember]
        public virtual string Sex { get; set; }
        //[DataMember]
        public virtual string CurrentLocation { get; set; }
        //[DataMember]
        public virtual string Country { get; set; }
        //[DataMember]
        public virtual string MobileNo { get; set; }
        //[DataMember]
        public virtual string CountryCode { get; set; }
        //[DataMember]
        public virtual string AreaCode { get; set; }
        //[DataMember]
        public virtual string LandLineNo { get; set; }
        //[DataMember]
        public virtual string TotalExpYr { get; set; }
        //[DataMember]
        public virtual string TotalExpMonth { get; set; }
        //[DataMember]
        public virtual string CurrAnualSalaryLac { get; set; }
        //[DataMember]
        public virtual string CurrAnualSalaryThsnd { get; set; }
        //[DataMember]
        public virtual string Currency { get; set; }
        //[DataMember]
        public virtual string FuncArea { get; set; }
        ////[DataMember]
        //public virtual IList<Test> TestList { get; set; }
        //[DataMember]
       // public virtual Int32 Order { get; set; }
    }
}
